package com.example.demo.service;

import com.example.demo.pojo.Draft;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2023-02-21
 * Time: 10:36
 */
public interface DraftService {
    int saveDraft(Integer uid, String title, String content);

    List<Draft> getDraftList(Integer id);

    Draft detailDraft(Integer aid);

    int updateDraft(Integer aid, Integer uid, String title, String content);

    int deleteDraft(Integer aid);
}
